package com.ncucoder.bridge;

/**
 * @author <a href="https://edit.ncucoder.com">hsowan</a>
 * @since 18-12-4 上午9:42
 **/
public class Circle extends Shape {
    private int x, y, radius;

    public Circle(int x, int y, int radius, Draw draw) {
        super(draw);
        this.x = x;
        this.y = y;
        this.radius = radius;
    }

    @Override
    public void draw() {
        draw.drawCircle(radius,x,y);
    }
}
